﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HeadFirst._03.Decorater.Beverages.CondimentDecoratores
{
    public class Mocha : CondimentDecorator
    {
        private Beverage _beverage;
        public Mocha(Beverage beverage) 
        {
            _beverage = beverage;
        }
        public override decimal Cost()
        {
            return 0.20M + _beverage.Cost();
        }

        public override string GetDescription()
        {
            return _beverage.GetDescription() + ",Mocha";
        }
    }
}
